package com.gcxy.service;

import com.gcxy.dto.Pen.InsertDto;
import com.gcxy.dto.Pen.UpdateDto;
import com.gcxy.entity.Pen;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gcxy.utils.R;
import com.gcxy.vo.Pen.PageVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wlp
 * @since 2023-12-19
 */
public interface PenService extends IService<Pen> {


    R addPen(InsertDto requestBody);

    R pagePen(PageVo requestBody);

    R penUpdate(UpdateDto requestBody);

    R penUpdateState(Integer penId, Integer penState);

    R getPenByRanchId(Integer ranchId);
}
